function refreshUser() {
	openWaitingDialog('waitingDialog');
	$.ajax({
		type:'post',
		url:'/safe_manage/register_refresh_user.jsp',
		data:{
			name: getElementValueByID('name'),
			jobNum: getElementValueByID('jobNum')
		},
		success:function(data,state,xmlhttp){
			var obj = null;
			try {
				obj = eval('(' + data + ')');
			} catch (e) {
			}
			if (typeof(obj.isSuccess) != 'undefined') {
				if (obj.isSuccess == 'true') {
					loadPageSection('/safe_manage/register.jsp', 'mainContentDiv');
				} else {
					closeWaitingDialog('waitingDialog');
					$.dialog.alert(obj.error);
				}
			}
		}
	});
}

function openDialogPage(url, id, title) {
	$.dialog.load(url, {
		id: id,
	    title: title,
	    lock: true
	});
}
